package wpwork.granter;

import wpwork.base.ActionResult;
import wpwork.exception.LoginException;

import java.util.Map;


/**
 *
 * @author wpwork开发平台组
 * @copyright 武汉维普科技有限公司
 */
public interface TokenGranter {

    ActionResult granter(Map<String, String> loginParameters) throws LoginException;


    ActionResult logout();

    boolean requiresAuthentication();

}
